package com.beself.dao;

import com.beself.entity.TUser;

import java.util.Map;

public interface TUserMapper {
    int deleteByPrimaryKey(Integer uId);

    int insert(TUser record);

    int insertSelective(TUser record);

    TUser selectByPrimaryKey(Integer uId);

    int updateByPrimaryKeySelective(TUser record);

    int updateByPrimaryKey(TUser record);

    //根据手机号查询账户是否存在
    TUser findbyuUsername(String uTel);

    //加入一条数据
    int insertUser(Map map);

    //根据账号密码进行判断
    TUser findbyUser(Map map);

    //根据账号修改密码
    int updatemima(Map map);

}